
#ifndef __USART_H__
#define __USART_H__

#include "stm32f10x_lib.h"
#include  <ucos_ii.h>
#include "CQueue.h"	
#include "Shell_IO.h"

#define USART_NUM 1


extern ShellObj *ShellUsart;


void InitUsartIO(void);
ShellObj * UsartCreate(USART_TypeDef *usart, u32 baudrate, u32 parity);
void Usart_SetBaudrate(ShellObj *usartobj, u32 baudrate, u32 parity);





#endif

